<template>
    <div class="child">
        <input type="button" name="" id="" @click="childCall()" value="子调父" />
    </div>
</template>

<script>
    export default {
        name: "child",
        methods: {
            childCall(param) {
                this.$emit('newNodeEvent','我是子元素传过来的')
            }
        }
    }
</script>

<style>

</style>
